ColibriWP\PageBuilder\PageBuilder D

Total Complexity 209
Dependencies 11
Dependents 20
Total lines 1,313
Lines of code 1,018
Logical lines of code 471
Comment lines 15
Methods 64
Properties 8

Methods 64

Method Rating Maintainability Complexity Lines of code
initCompanion()
C
27
18 155
applyOnPrimaryLanguage()
A
46 14 36
addAdminScripts()
A
34 4 183
shortcodeRefresh()
A
45 12 40
isFrontPage()
A
54 10 18
canShowDefaultEditor()
A
54 8 21
checkForThemePreviewdInCustomizer()
S
49 6 33
savePostAsDraft()
S
51 6 25
isWCPage()
S
56 6 20
canEditInCustomizer()
S
55 6 20
letToNum()
S
57 6 17
__construct()
S
50 5 30
isMaintainable()
S
60 6 13
getTreeValueAt()
S
59 5 14
maintainablePageEditor()
S
58 5 14
__createFrontPage()
S
46 3 43
restoreMetaFieldRevision()
S
60 4 13
saveMetaFieldRevision()
S
61 4 12
load()
S
63 4 10
getCurrentPageId()
S
66 4 8
get_page_link()
S
59 3 14
addGoogleFonts()
S
61 3 12
checkNotifications()
S
63 3 12
createFrontPage()
S
68 3 7
loadFile()
S
64 3 10
openPageInCustomizer()
S
59 2 14
rootURL()
S
60 2 13
getFrontPage()
S
60 2 13
filterDefault()
S
61 2 12
addEditInCustomizer()
S
64 2 11
isProtectedMeta()
S
63 2 11
showRichTextEditor()
S
69 2 7
rootPath()
S
71 2 6
addEditInCustomizerPageButtons()
S
68 2 7
restoreFrontPage()
S
70 2 6
theme()
S
71 2 6
addMaintainableMetaToRevision()
S
65 2 8
filterArrayDefaults()
S
70 2 6
wpEditorSettings()
S
71 2 6
getVersion()
S
72 2 6
loadJSON()
S
68 2 7
getThemeSlug()
S
69 2 7
prefixedMod()
S
71 2 5
openPageInDefaultEditor()
S
66 2 8
utilsPath()
S
79 1 3
themeDataPath()
S
79 1 3
themeDataURL()
S
79 1 3
assetsRootURL()
S
80 1 3
isMultipage()
S
82 1 3
dataURL()
S
79 1 3
loadJSONFile()
S
80 1 3
isCurrentThemeSupported()
S
79 1 3
replaceEditor()
S
80 1 3
isPRO()
S
71 1 5
instance()
S
80 1 3
loadMaintainablePageAssets()
S
79 1 3
customizer()
S
82 1 3
assetsRootPath()
S
80 1 3
registerActivationHooks()
S
66 1 9
getRevisionsMetaKeys()
S
69 1 7
fileExists()
S
75 1 4
getMaintainableMetaKeys()
S
76 1 4
getMaintainableKeysLabelPair()
S
67 1 7
getMetaFieldRevision()
S
75 1 4